﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class NSX_BUS
    {
        public static DataTable hienthi()
        {
            return NSX_DAO.hienthi();
        }
        public static void ThemNSX(NSX_DTO nsx)
        {
            NSX_DAO.ThemNSX(nsx);
        }
        public static void SuaNSX(NSX_DTO nsx, string macu)
        {
            NSX_DAO.SuaNSX(nsx, macu);
        }
        public static void XoaNSX(string MaNSX)
        {
            NSX_DAO.XoaNSX(MaNSX);
        }
        public static DataTable timkiem(string ma)
        {
            return NSX_DAO.timkiem(ma);
        }
        public static DataTable timkiemNC(string Ma, string ten, string diachi, string sdt)
        {
            return NSX_DAO.timkiemNC(Ma, ten, diachi, sdt);

        }
    }
}
